<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group hide">
        <label class="control-label col-xs-12 col-sm-2">{:__('Vote_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-vote_id" data-rule="required" class="form-control" name="row[vote_id]" type="text" value="{$param.vote_id|htmlentities}">
            <input id="c-person_id" data-rule="required" class="form-control" name="row[person_id]" type="text" value="{$param.person_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">选择礼物:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-gift_id" data-rule="required" data-source="kzvote/gift/gift/index"
                   class="form-control selectpage" name="row[gift_id]" type="text">
        </div>
    </div>

    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
